/*
 * HMC5883.h
 *
 */
#ifndef __HMC5883_H_
#define __HMC5883_H_

#ifdef  __cplusplus
extern "C" {
#endif		/* __cplusplus */

extern int HMC5883_Init(void);
extern void HMC5883_GET_XYZ(short *arg);

extern void HMC5883_Sleep(void);
extern void HMC5883_Wakeup(void);


//void LSM303DLH_Task(void);
void Get_HMC5883_Data(void);
extern double HMC5883_M[3];


void HMC5883_M_Set(void);
void HMC5883_M_Reset(void);
void HMC5883_M_Normal(void);


#ifdef __cplusplus
}
#endif	/* __cplusplus */
#endif	/* __HMC5883_H_ */